OrderPanelCtl = Ext.extend(CmpControler, {

			bulidComponent : function() {

				var config = this.getCommonConfig();

				config = this.configItems(config);

				config = this.configButtons(config);

				var win = new Ext.Panel(config);

				return win;
			},
			getCommonConfig : function() {

				var config = {
					layout : 'border'
				};

				return config;

			},
			configItems : function(config) {

				var ocgc = cf.getC('ocgc');
				var ogc = cf.getC('ogc');

				this.items = {};
				
				this.items.cg = ocgc;
				this.items.og = ogc;

				config.items = [ocgc.getComponent(), ogc.getComponent()];

				return config;
			},
			configButtons : function(config) {

				return config;

			},
			show : function(id) {

				this.load(id);

			},
			load : function() {
				
				this.items.cg.load();
				
			},
			search : function() {
				var cdt = this.items.formCtl.getCdt();
				if(cdt == null){
					alert('请输入查询条件！');
					return ;
				}
				this.items.gridCtl.load(cdt);
			}

		});
